package com.apusic.service;

import java.util.List;
import java.util.Map;

import com.apusic.dao.BaseResourceDao;
import com.apusic.entity.BaseResource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("baseResourceService")
public class BaseResourceService {

    @Autowired
    private BaseResourceDao baseResourceDao;

    public List<BaseResource> getResources() {
        return baseResourceDao.getResources();
    }

    public List<BaseResource> queryByUrl(Map<Object, Object> paramMap) {
        return baseResourceDao.queryByUrl(paramMap);
    }
}
